/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package postersender;

import java.util.*;

/**
 *
 * @author Berk
 */
public class Flag {
    
    private String flag;
    private String time;
    private String status;
    
    public Flag(){
        this.flag = "";
        this.time = Calendar.getInstance().getTime().toString();
        this.status = "Waiting";        
    }
    
    public Flag(String initFlag){
        this.flag = initFlag;
        this.time = Calendar.getInstance().getTime().toString();
        this.status = "Waiting";
    }

    public Flag(String initFlag,String initTime,String initStatus){
        this.flag = initFlag;
        this.time = initTime;
        this.status = initStatus;
    }
        
    public String getFlag(){
        return this.flag;
    }
    
    public String getTime(){
        return this.time;
    }
    
    public String  getStatus(){
        return this.status;
    }
    
    public void setFlag(String newFlag){
        this.flag=newFlag;
    }
    
    public void setTime(String newTime){
        this.time=newTime;
    }
    
    public void setStatus(String newStatus){
        this.status=newStatus;
    }
}
